翻訳と辞書 |
Unit testing : ウィキペディア英語版 | Unit testing
In computer programming, unit testing is a software testing method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine whether they are fit for use. Intuitively, one can view a unit as the smallest testable part of an application. In procedural programming, a unit could be an entire module, but it is more commonly an individual function or procedure. In object-oriented programming, a unit is often an entire interface, such as a class, but could be an individual method. Unit tests are short code fragments〔(【引用サイトリンク】title=Unit Testing )〕 created by programmers or occasionally by white box testers during the development process. It forms the basis for component testing.〔(【引用サイトリンク】url=http://istqbexamcertification.com/what-is-component-testing/ )〕 Ideally, each test case is independent from the others. Substitutes such as method stubs, mock objects, fakes, and test harnesses can be used to assist testing a module in isolation. Unit tests are typically written and run by software developers to ensure that code meets its design and behaves as intended. == Benefits == The goal of unit testing is to isolate each part of the program and show that the individual parts are correct.〔 A unit test provides a strict, written contract that the piece of code must satisfy. As a result, it affords several benefits.
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Unit testing」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|